-
Notifications
You must be signed in to change notification settings - Fork 3
feat: install a CLI for instant terminal launch in a repo dir #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
michaelneale
commented
Jan 28, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a CLI command for launching the Staged application directly from the terminal, enabling users to quickly open repositories without navigating through the GUI. The feature includes both an installation mechanism through the application menu and automatic installation via the install script.
Changes:
- Added
bin/stagedCLI launcher script that finds and launches the app with a specified directory - Implemented backend support for CLI argument parsing and privilege-escalated CLI installation
- Integrated CLI installation into the application menu with user feedback dialogs
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| bin/staged | New bash script that resolves paths and launches the Staged.app bundle with directory arguments |
| src-tauri/src/lib.rs | Added get_initial_path and install_cli commands; updated menu system to include CLI installation option |
| src/lib/services/window.ts | Added TypeScript wrappers for the new CLI-related Tauri commands |
| src/lib/stores/repoState.svelte.ts | Modified initialization to check for CLI arguments before falling back to current directory |
| src/App.svelte | Added menu event handler and UI feedback for CLI installation feature |
| install.sh | Added install_cli function to automatically install the CLI during setup |
| README.md | Updated documentation with CLI usage examples and installation notes |
| .gitignore | Added entries for development artifacts (unrelated to main feature) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* main: show an explanation of how things were as well as the change (#28) feat: install a CLI for instant terminal launch in a repo dir (#38) Rename reviews.db to staged.db with auto-migration (#39) Add lefthook for pre-push checks (#37) Replace goose CLI with ACP (Agent Client Protocol) (#36) Add window state persistence and macOS app menu (#32) Fix horizontal scrollbar in sidebar (#35) Add GitHub Actions CI workflow for PRs (#33) Tiered strategy for changeset sizes (#29)